Open
Conversation
hoooooony
reviewed
Apr 29, 2024
| @@ -0,0 +1,125 @@ | |||
| body { | |||
| background-color: rgba(121, 105, 228, 0.446); | |||
| display: grid; | |||
Contributor
There was a problem hiding this comment.
질문에 대한 답은 signup에만 display grid속성이 들어가서 그런것 같습니다.
Author
There was a problem hiding this comment.
signup에 있는 signin-link의 부모 요소는 relative를 가진 link-container라고 생각했는데 body가 grid인 것과 연관이 있는 건가요?
Contributor
Author
There was a problem hiding this comment.
앗 link-container가 왼쪽 정렬 되어있어서 그랬군요..! 감사합니다 ㅠㅠ
| position: absolute; | ||
| right: 1%; | ||
| top: 5%; | ||
| font-size: small; |
Contributor
There was a problem hiding this comment.
이런식으로 주는 것보다는 link-container의 display속성을 flex로 주고 flex-direction: row-reverse;속성을 통해 방향을 반대로 바꾸면 좀 더 쉬울것 같아요 이때 주의할 점은 link-container의 width는 100%여야 원하는 모양이 나오거에요. 너무 오른쪽으로 붙었다면 link-container의 오른쪽 패딩을 줘도 괜찮고 link-container에 margin-right를 주어도 괜찮을듯 합니다.
Author
There was a problem hiding this comment.
오,, flex-direction: row-reverse; 속성을 주는 게 더 괜찮아 보이네요! 감사합니당
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


로그인 페이지는 flex를 사용했고 회원가입 페이지는 grid를 사용해봤습니다.
로그인 페이지
회원가입 페이지
궁금한 부분